projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eebf151
)
demos/gtk-demo/gtkfishbowl.c: Include gtk/fallback-c89.c
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Wed, 20 Jun 2018 10:21:05 +0000
(18:21 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Tue, 26 Jun 2018 08:40:18 +0000
(16:40 +0800)
...in place of math.h, as we are using round(), which is possibly not
provided by the compiler since we don't require a C99 compiler in
GTK+-3.x and gtk/fallback-c89.c does include math.h anyways.
demos/gtk-demo/gtkfishbowl.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/gtkfishbowl.c
b/demos/gtk-demo/gtkfishbowl.c
index 5101210fd19ff538f44006644beda9c5a3b88447..0b17c42fc28a48902a20637127588d5bbb938ed3 100644
(file)
--- a/
demos/gtk-demo/gtkfishbowl.c
+++ b/
demos/gtk-demo/gtkfishbowl.c
@@
-19,7
+19,7
@@
#include "gtkfishbowl.h"
-#include
<math.h>
+#include
"gtk/fallback-c89.c"
typedef struct _GtkFishbowlPrivate GtkFishbowlPrivate;
typedef struct _GtkFishbowlChild GtkFishbowlChild;